﻿using Abp.Application.Services.Dto;
using Mt.Site.Application.Common.Dto;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Mt.Site.Application.Common
{
    public interface ICommonLookupAppService : IBackEndAppService
    {
        Task<ListResultDto<ComboboxItemDto>> GetEditionsForCombobox();

        Task<PagedResultDto<NameValueDto>> FindUsers(FindUsersInput input);

        Task<List<NameValueDto<long>>> FindUsers2();

        GetDefaultEditionNameOutput GetDefaultEditionName();

        GetEtcFromBackendHeaderOutput GetEtcFromBackendHeader();

        Task<string> GetSpecialIds();

        Task<MenuPathOut> GetMenuRouteInfo(MenuKindInput input);

        Task<string> GetRouterUrlAsync(Guid releateId);

        /// <summary>
        /// 获取栏目权限数据
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Dictionary<string, bool> GetPermissionDatas(GetPermissionsInput input);

        string GetEncryptStr(GetStringCipherInput input);

        string GetDecryptStr(GetStringCipherInput input);
    }
}